package com.itcast.demo;

import com.itcast.SessionUtils.SessionUtils;
import org.junit.Test;

import java.util.List;

public class   Demo02 {
    @Test
    public void findAll(){
        List<Object> objects = SessionUtils.getSession().selectList("com.itcast.mapper.UserMapperTwo.findAll");
        System.out.println("objects = " + objects);
        SessionUtils.getSession().close();


    }}
